﻿using System;

namespace MQTTServer.Models
{
    /// <summary>
    /// 设备心跳
    /// </summary>
    public class HeartBeat
    {
        /// <summary>
        ///  设备心跳
        /// </summary>
        public string @operator { get; set; }

        /// <summary>
        ///  HeartBeatInfo
        /// </summary>
        public HeartBeatInfo info { get; set; }
    }

    public class HeartBeatInfo
    {
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string facesluiceId { get; set; }
        /// <summary>
        /// 心跳时间
        /// </summary>
        public DateTime time { get; set; }
    }
}